<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
        <title>{$title}_{$cate.name} - <tp:sitename /></title>
        <meta name="keywords" content="{$keywords}" />
        <meta name="description" content="{$description}" />
        <link rel="shortcut icon" href="__PUBLIC__/images/favicon.ico" type="image/x-icon" /> 
        <link rel="stylesheet" href="__PUBLIC__/css/style_version1.css" type="text/css" />
        <link rel="stylesheet" href="__PUBLIC__/css/css.css" type="text/css" /> 
        <script type="text/javascript" src="__PUBLIC__/js/jquery.js" ></script>
    </head> 
    <body> 
    
        <include file="Public:header" />
        
<div class="breadcrumbs">
    <tp:position delimiter='&nbsp;&gt;&nbsp;' />&nbsp;&gt;&nbsp;{$content.title}
</div>
<div  class="container clearfix">
    <div class="sidebar">
    <div class="sidebar_per sidebar_first">
        <dl>
            <dt>
            <tp:type typeid='$pid'>
            <a href="{$type.url}" class="more" >更多&nbsp;<span class="more-sign">&gt;</span></a>
            <strong>推荐{$type.name} <span class="name-en">/{$type.ename}</span></strong>
            </tp:type>
            </dt>
            <tp:soflist typeid='$pid' flag='c' limit='15'>
            <dd class="sidebar_articles"><span>{$soflist.updatetime|date='m-d',###}</span><a href="{$soflist.url}" title="{$soflist.title}">{$soflist.title}</a></dd>
            </tp:soflist>
       	</dl>
    </div>
    <div class="sidebar_per">
	<tp:union id='9' />
	</div>
    <div class="sidebar_per">
        <dl>
            <dt>
            <tp:type typeid='$pid'>
            <strong>最新{$type.name} <span class="name-en">/{$type.ename}</span></strong>
            </tp:type>
            </dt>
            <tp:soflist typeid='$pid' limit='15'>
            <dd class="sidebar_articles"><span>{$soflist.updatetime|date='m-d',###}</span><a  href="{$soflist.url}" title="{$soflist.title}">{$soflist.title}</a></dd>
            </tp:soflist>
         </dl>
    </div>
    
    <div class="sidebar_per">
        <dl>
            <dt>
            <a href="{:U('tag/lists')}" class="more" >更多&nbsp;<span class="more-sign">&gt;</span></a>
            <strong>标签云 <span class="name-en">/Tag</span></strong>
            </dt>
            <dd class="sidebar_tags">
            <volist name="tags" id="vo">
                <a href="{:U('tag/index')}?tagname={$vo['tag_name']}" title="{$vo.tag_name}" >{$vo.tag_name}</a>
            </volist>
        	</dd>
        </dl>
    </div>
    
    <div class="sidebar_per">
            <dl>
                <dt>
                <tp:type typeid='$pid'>
                <strong>相关{$type.name} <span class="name-en">/{$type.ename}</span></strong>
                </tp:type>
                </dt>
                <tp:soflist limit='15'>
                <dd class="sidebar_articles"><span>{$soflist.updatetime|date='m-d',###}</span><a href="{$soflist.url}" title="{$soflist.title}">{$soflist.title}</a></dd>
                </tp:soflist>
              </dl>
        </div></div>
    <div class="detail">
        <div class="head">
    <div class="head_inner">
        <img class="round-image" width="50" height="50" alt="头像" src="{:get_avatar('',30)}" />
        <h1>{$content.title} </h1>
        <p class="info">
            
            <span class="addtime">{$content.publishtime|date='Y-m-d H:i:s',###}</span>
            <!--<span>大小：{$content.filesize}</span>&nbsp;&nbsp;-->
            <!--<span>
            <a class="poster_likes " onclick="getCollect($(this), '743', '1')" href="javascript:void(0)">
                <i class="like_status lm_like"></i><em>收藏</em>
            </a>
            </span>&nbsp;&nbsp;-->
            
			<span>来源：<a href="<tp:siteurl />"><tp:sitename /></a></span>&nbsp;&nbsp;
            <span>浏览(<tp:click />)</span>&nbsp;&nbsp;
            <span>评论 ( <a href="#comments"><span class="review-count red">0</span></a> ) </span>&nbsp;&nbsp;
        </p>
    </div>
</div>

        <div class="content">
            <div class="big_image">
              <!--<script type="text/javascript">
    /*为了保证用户体验及收益，图片大小不得小于：200*180*/
    /*图文广告*/
var cpro_id = "u2176026";
</script>
<script src="http://cpro.baidustatic.com/cpro/ui/i.js" type="text/javascript"></script>-->
                <a href="{:U('Show/viewpic')}?id={$content['id']}#p1" target="_blank"><img src="{$content.litpic|get_picture=600}" alt="{$content.title}"  /></a>
                <div class="template_feature">
                </div>
                <div class="template_description">
                {$content.description}
                </div>
            </div>

            <div class="buttons">
                <span class="btnbox">
                    <a class="bigbtn demo" href="{:U('Show/getdemo?id='.$content['id'])}" target="_blank">查看演示</a>
                    <span class="dlnum">
                        下载资源：<strong class="orange">{$content.downnum}</strong>次
                    </span>
                </span>
                <span class="btnbox">
                	<a class="bigbtn download notlogin"  onclick="downloadZip('{$content.id}')">下载资源</a>
                    <span class="dlcount">
                        下载积分：<strong class="orange">{$content.scores}</strong>分
                    </span>
                </span>
            </div>
            
            <notempty name="content['pictureurls']">
            <div id="gallery">
                <ul>
                    <foreach name="content['pictureurls']" item='v'>
                    <li><a href="{:U('Show/viewpic')}?id={$content['id']}#p{$key+1}" title="{$v.alt}" target="_blank"><span></span><em>{$v.alt}</em><u><img src="{$v.url}!300X300.jpg" alt="{$v.alt}"></u></a></li>
                    </foreach>
                </ul>
            <div class="cl"></div>
            </div>
            </notempty>
            
            <div class="content">
            {$content.content}
            </div>
            </div>
        <div class="detail_foot clearfix">
        <div class="bshare">
        	<!-- JiaThis Button BEGIN -->
            <!-- JiaThis Button BEGIN -->
            <div class="jiathis_style">
                <a class="jiathis_button_qzone"></a>
                <a class="jiathis_button_tsina"></a>
                <a class="jiathis_button_tqq"></a>
                <a class="jiathis_button_weixin"></a>
                <a class="jiathis_button_renren"></a>
                <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
            </div>
            <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
            <!-- JiaThis Button END -->
        </div>
    	<div class="tagged_with">
            <span class="gray">标签：</span>
            <if condition="$content['tag']">
            <php>$tags = explode(',',$content['tag']);</php>
            <volist name="tags" id="vo">
                <a class="button3 white" href="{:U('Tag/index')}?tagname={$vo}">{$vo}</a>
            </volist>
            </if>
        </div>
        <div class="declare"><span>声明：</span>转载请注明来源（<a href="<tp:siteurl />"><tp:sitename /></a>）并保留原文链接：<a href="<tp:siteurl />{$content.url}"><tp:siteurl />{$content.url}</a></div>
    <div class="page_nav clearfix">
        <div class="next_page" title="下一篇">
            <tp:prev />
        </div>
        <div class="pre_page" title="上一篇">
            <tp:next />
        </div>

    </div>
    
    <tp:union id='8' />

    <div class="comments" id="comments">
        <div class="title">
            评论<span class="num_area">（<em class="comments_num review-count" id="comments_num">0</em>）</span>
        </div>
        
		<include file="Public:comment" />
        
    </div>
</div>
    
    </div>
</div>
<!--<script language="javascript">
function downloadZip(id){
	<if condition="$uid">
		<if condition="$content['scores'] gt 0">
		alert('您的积分不足，请充值！');
		<else />
		window.open("{:U(download)}?id="+id+"&at=0");
		</if>
	<else />
		showWindowBox();
		$("#windown_box").attr("data-func","downloadZip("+id+")");
	</if>
}
</script>-->
<include file="Public:footer" />
<include file="Public:loginbox" />
</body>
</html>
